package phone;

/*
 * 测试类
 */

public class Test2 {
	public static void main(String[] args) {
		CommonPhone commonPhone = new CommonPhone("G502c","索尼爱立信");
		commonPhone.printInfo();
		commonPhone.play();
		commonPhone.sendMassage();
		commonPhone.Call();
		System.out.println();
		
		IntelligentPhone itlPhone = new IntelligentPhone("MX4","魅族");
		itlPhone.printInfo();
		itlPhone.netWork();
		itlPhone.play();
		itlPhone.takePicture();
		itlPhone.sendMassage();
		itlPhone.Call();
	}
	

}
